home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 128 11
/
q11.d81
/
t.paint 128 ii
< prev
next >
Wrap
Text File
|
2022-08-28
|
16KB
|
353 lines
P A I N T 1 2 8 II
by Peter Marions
One of the main reasons people like the C-128 is the 80-column screen,
but it's not very easy to work with outside the straight text mode. BASIC
8, by Lou Wallace and David Darus, is a programming language that allows
programmers to do things that would take an unreasonable amount of BASIC 7.0
code to do. But what about non-programmers?
PAINT 128 was the answer. We published it on LOADSTAR 128 #8 and had
many comments and suggestions for it. Where's the ZOOM mode? How about big
fonts? Mouse support? I passed these on to Peter Marions, master
programmer from Sweden, and he answered with PAINT 128 II, which has many
new features -- so many that I decided to publish it again.
It's all complete here; you don't have to have LOADSTAR 128 #8 to use
this program. Numerous printer drivers and fonts are on the disk (including
some super fonts) and before you know it you'll be in the middle of a
masterpiece.
Here are some of the new features:
Input Device - the "Settings" menu lets you select mouse, joystick or
keyboard
Zoom Mode - change any pixel easily.
Color Preferences - set your favorite menu/window colors.
Brush Merge - instead of erasing the screen underneath, you can now blend
your brush with what's already there.
Tile Brush - completely tile the whole screen -- very fast!
Crystal Draw - hard to explain but very catchy.
Two-drive support - works with drives 8 and 9.
Menu loading - now has a menu/scroll bar for loading files. You don't
need to enter filenames.
Superfonts - big fonts a la Geos are now supported (and included).
PAINT 128 II runs in the 80-column mode and autoconfigures itself to
your Commodore 128, whether you have a 16K or 64K of Video RAM. The line at
top of screen is the main menu with your main options. The menu bar at the
top of the screen responds in several ways. You can either:
press the first letter of the menu item (p for Paint, 3 for
3D-Objects, etc.) or
move the cursor arrow to the menu item and press SPACE, FIREBUTTON or
the left mouse button.
Use the cursor keys, joystick up/down or the left mouse button to move the
highlight bar and then press RETURN, FIRE or the right mouse button. The
ESC button will get you out of any menu without selecting anything. You can
change the joystick speed by pressing H for higher speed and L for lower
speed.
Always choose a command before you mark graphics on screen. The last
command will be kept until a new one is chosen. The pointer arrow is moved
with the mouse, cursor keys or joystick. You mark your graphics by moving
the pointer then pressing SPACE, FIRE or the left mouse button. The screen
will flash red, and a little "+" will mark your spot. You can unmark your
first location by pressing the ESC key or the right mouse button.
If you don't want the "+" to be drawn on the screen when you're marking
a spot, press M to toggle the Marker on and off. Likewise, if you don't
like the "beep" sound that signals when you've marked something, you can
turn the sound off from the Settings Submenu.
The following text is written for the keyboard mode. Just remember
that the left mouse button and the FIREBUTTON do the same job as SPACE if
you're in the mouse or joystick mode.
A short example: Say you would like to make a rectangle. The RECTANGLE
command is found under main menu command PAINT. Press p (for PAINT), select
rectangle command with cursor keys, then press RETURN. Now move the pointer
to the place you want one of the upper corners of the rectangle to be and
press SPACE. Now move the pointer to the lower opposite corner and press
SPACE. The rectangle will be drawn according to your marks.
To make the following simpler, let's define some terms. A "picture" is
the entire screen. A "brush" is a smaller, definable part of the screen. A
"cell" is an 8*8 pixel section of the screen.
There are six menus listed at the top of the screen. Each one has
several options. We'll take them from left to right.
--- PAINT submenu ---
* DOT: Places a dot on screen.
* RECTANGLE: Draws a rectangle on screen. Mark opposite corners with the
cursor. Note that once you set the first mark, you can draw the rectangle
to the left or to the right, up or down.
* BLOCK: Draws a filled block on the screen. It's like the rectangle,
except filled.
* CIRCLE: Draws a circle. You first mark the top of the circle, then move
the cursor to the left or right side of the circle. If the circle were a
clock, you'd first mark 12 o'clock, then choose the circle's size by marking
3 o'clock or 9 o'clock.
* LINE: Draws a line on screen. Mark the start then the end of line.
* LINE TO LINE: Draws a connected line on screen. The end mark of your
first line is automatically the start mark of your second line, and so on.
* DRAW: Draws a line under your control. Set the pointer then press SPACE
to activate DRAW. Press SPACE to toggle draw on and off.
* FILL: Fills an enclosed area with a fill pattern. Place the pointer
inside the area you want filled and hit SPACE. IMPORTANT! Make sure that
fill area is completely enclosed or the whole screen may be filled!
* WINDOW: Draws a colored, outlined window. Mark the opposite corners with
the pointer.
--- 3D-OBJECTS submenu ---
* SPHERE: Plots a 3D solid sphere. First mark center of sphere then mark
radius right or left from center.
* CYLINDER: Draws a solid cylinder. Works just like the sphere command.
* SPOOL: Draws a solid spool structure. It's like a cylinder whose ends are
larger than the middle.
* TOROID: Draws a solid toroid (doughnut) shape.
NOTE! Characteristics for 3D-Objects can be defined under main menu command
SETTINGS, explained later.
--- TOOLS submenu ---
* ZOOM: The zoom function allows you to zoom into a small area for fine
editing. Point to it and press SPACE to activate the zoom window. Areas
outside the enlarged area can be brought into the zoom window by pressing
CRSR LEFT, RIGHT, UP or DOWN. Editing can be done with CRSR keys or
joystick. It works as a toggle -- pixels on are turned off and pixels off
are turned on when you press SPACE. Exit zoom mode with RETURN or ESC.
* GET BRUSH: Copies a rectangular area of the screen to memory where it can
be copied to any part of the screen (PASTE BRUSH), or saved (SAVE BRUSH).
Position the pointer at one corner of the area and press SPACE. Then
position the pointer at opposite corner of the rectangle and press SPACE
again. If the start position was not correct press the ESC button and
retry.
* PASTE BRUSH: Used to paste a copied brush to screen. Point to the place
you want the upper left corner of the saved brush and press SPACE. You can
repeat this as many times as you like.
* TILE BRUSH: Tiles a brush to the whole screen. NOTE! This will overwrite
everything drawn on screen.
* SAVE AS PATTERN: Saves a rectangular area of the screen to be used as a
fill pattern. This means anything on the screen can be saved as a pattern
and used with the FILL command. Works like Copy brush. Pattern can also be
saved to disk with the SAVE PATTERN command.
* MIRROR X: Mirrors a rectangular area of screen in the horizontal
direction. Works the same as COPY BRUSH.
* MIRROR Y: Same as mirror X but in the Y direction.
* MULTIDRAW: Multidraws works with the commaads RECTANGLE, CIRCLE, LINE and
LINE TO LINE. Adjust the Thickness by pressing T then + or -. This
determines how many times each command will be drawn. By adjusting X and Y
you specify how many pixels (in the X or Y direction) every new graphic will
move from the previous one. Press M to toggle MULTIDRAW command on and off.
IMPORTANT! AFTER setting multidraw values, graphic command must be
selected. Multidraw works fine in connection with CRYSTAL DRAW. The
easiest way to understand what this command can do is to experiment. You
can achieve some very interesting 3-D effects with it. Remember to set
MULTIDRAW off when you're not using it.
* CRYSTAL DRAW: Crystal draw works with command DOT,